/**
 * 	 Copyright (c) 2008, 2009 Lukas Zaruba
 * 
 *   This file is part of UniAnalyzer (Universal Analyzer).
 *
 *   UniAnalyzer is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU Lesser General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   UniAnalyzer is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU Lesser General Public License for more details.
 *
 *   You should have received a copy of the GNU Lesser General Public License
 *   along with UniAnalyzer. If not, see <http://www.gnu.org/licenses/>.
 */

package net.zarubsys.unianalyzer.dataminers.lpt.triggers;

import java.io.Serializable;

import net.zarubsys.unianalyzer.dataminers.lpt.pin.CustomizedPin;

/**
 * TriggerDescription
 *
 * @author  &lt;A HREF=&quot;mailto:lukas.zaruba@media-solutions.cz&quot;&gt;Lukas Zaruba&lt;/A&gt;, MEDIA SOLUTIONS CZECH REPUBLIC Ltd.
 * @version $Revision$ $Date$
 */
public class TriggerDescription implements Serializable {
	
	private static final long serialVersionUID = 7042143364571971144L;
	private final boolean isRisingEdge;
	private final long maxWaitingInterval;
	private final CustomizedPin pin;
	
	public TriggerDescription(boolean isRisingEdge, long maxWaitingInterval, CustomizedPin pin) {
		this.isRisingEdge = isRisingEdge;
		this.maxWaitingInterval = maxWaitingInterval;
		this.pin = pin;
	}

	public boolean isRisingEdge() {
		return isRisingEdge;
	}

	public long getMaxWaitingInterval() {
		return maxWaitingInterval;
	}

	public CustomizedPin getPin() {
		return pin;
	}
	
}


/*
 * $Log$
 */